package com.cruise.game.common.constants;

/**
 * 订单常量
 *
 * @author cruise
 * @date 2025-02-28
 */
public interface OrderConstants {

    /**
     * 订单前缀
     */
    String ORDER_NUMBER_PREFIX = "ORD";

    /**
     * 订单状态：待接单
     */
    String ORDER_STATUS_PENDING = "pending";

    /**
     * 订单状态：进行中
     */
    String ORDER_STATUS_IN_PROGRESS = "in_progress";

    /**
     * 订单状态：已完成
     */
    String ORDER_STATUS_COMPLETED = "completed";

    /**
     * 订单状态：售后中
     */
    String ORDER_STATUS_AFTER_SALES = "after_sales";

    /**
     * 订单状态：已取消
     */
    String ORDER_STATUS_CANCELLED = "cancelled";

    /**
     * 账号类型：QQ
     */
    String ACCOUNT_TYPE_QQ = "QQ";

    /**
     * 账号类型：微信
     */
    String ACCOUNT_TYPE_WECHAT = "WeChat";

    /**
     * 订单表名
     */
    String ORDER_TABLE_NAME = "orders";

    /**
     * 订单评价表名
     */
    String ORDER_RATING_TABLE_NAME = "order_ratings";

    /**
     * 默认评价分数
     */
    Integer DEFAULT_RATING = 5;

    /**
     * 最高评价分数
     */
    Integer MAX_RATING = 5;

    /**
     * 最低评价分数
     */
    Integer MIN_RATING = 1;
}
